<h1><%= link_to "Player", :action => "index" %>
 &rarr; <%=h @team.name %>
 </h1>
 
 <table>
<tr><td>
 <!--Show player details-->
 <div class="details">
 <dl>
 <dt>Name:</dt><dd><%=h @team.name %></dd>
<dt>Number:</dt><dd><%=h @team.number %></dd>
 <dt>Position:</dt><dd><%=h @team.position %></dd>
 <dt>Goals:</dt><dd><%=h @team.goals %></dd>
<dt>Assists:</dt><dd><%=h @team.assists %></dd>
<dt>Points:</dt><dd><%=h @team.points %></dd>
 </dl>
</td><td align="right">
<img src = "/images/profile.gif" height="190" width="200">
</td></tr>
</table>
 <!--if admin show links-->
  <% if admin? %>
  <p class="modify">
    <%= link_to "edit", :action => "edit", :id => @team.id %>  |
    <%= link_to "destroy", { :action => "destroy", :id => @team.id },
                            :confirm => 'Are you sure?', 
                            :method  => :delete %>
  </p>
  <% end %>
</div>
